package com.spring.annotationDI;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName: StudentService
 * @Description: TODO
 **/
@Service
public class StudentService {

    @Autowired
    private StudentDao studentDao;

    public int save() {
        System.out.println("基于注解的service层的调用。。。");
        return studentDao.save();
    }
}
